
<template>
  <div class="mineContainer comContainer">
    <Form :model="queryForm" :label-width="100" ref="queryForm">
      <Row>
        <Col :span="6">
          <FormItem label="培训类型：" prop="train_type">
            <Select v-model="queryForm.train_type">
              <Option :value="item.code" v-for="item in eprList" :key="item.code">{{item.name}}</Option>
            </Select>
          </FormItem>
        </Col>
        <Col :span="6">
          <FormItem label prop>
            <Button type="primary" class="mr10" @click="handleQuery" size="small">查询</Button>
            <Button type="default" @click="handleReset" size="small">重置</Button>
          </FormItem>
        </Col>
      </Row>
    </Form>
    <Tabs value="video">
      <TabPane label="视频" name="video">
        <video-resource></video-resource>
      </TabPane>
      <TabPane label="文档" name="file">
        <file-resource></file-resource>
      </TabPane>
    </Tabs>
  </div>
</template>

<script>
import VideoResource from '_c/train/resource/video'
import FileResource from '_c/train/resource/file'
export default {
  name: 'mineContainer',
  components: {
    VideoResource,
    FileResource
  },
  data () {
    return {
      eprList: [],
      queryForm: {}
    }
  },
  methods: {
    handleQuery () {},
    handleReset () {}
  }
}
</script>

<style lang="less" scoped>
</style>
